//
//  IZYURLResponseSerializer.h
//  ZYWebImage
//
//  Created by wzp on 2025/4/7.
//

#ifndef IZYURLResponseSerializer_h
#define IZYURLResponseSerializer_h
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

static NSString * const ZYURLResponseSerializationErrorDomain = @"com.alamofire.error.serialization.response";
static NSString * const ZYNetworkingOperationFailingURLResponseErrorKey = @"com.alamofire.serialization.response.error.response";
static NSString * const ZYNetworkingOperationFailingURLResponseDataErrorKey = @"com.alamofire.serialization.response.error.data";

@protocol IZYURLResponseSerializer <NSObject>

- (nullable id)responseObjectForResponse:(nullable NSURLResponse *)response
                                    data:(nullable NSData *)data
                                   error:(NSError * _Nullable __autoreleasing *)error;
@end

#endif /* IZYURLResponseSerializer_h */
